// stores/counter.js
import { defineStore } from 'pinia'

export const loginStore = defineStore('login', {
  state: () => {
    return {
      //控制登录显示框
      visable: false,
      //控制注册显示框
      registerVis: false
    }
  },
  actions: {
    show() {
      this.visable = true;
    },
    hidden() {
      this.visable = false
    }
  },
})
